package bean;

public class Address {
	private int addressid;
	private int userid;
	private String consignee;//收货人
	private String tel;
	private String optionalTel;//备选电话
	private String province;
	private String city;
	private String district;
	private String street;
	private String address;
	private String postcode;
	private int ifDefault;
	public Address() {}
	public Address(int addressid, int userid, String consignee, String tel, String optionalTel, String province,
			String city, String district, String street, String address, String postcode, int ifDefault) {
		super();
		this.addressid = addressid;
		this.userid = userid;
		this.consignee = consignee;
		this.tel = tel;
		this.optionalTel = optionalTel;
		this.province = province;
		this.city = city;
		this.district = district;
		this.street = street;
		this.address = address;
		this.postcode = postcode;
		this.ifDefault = ifDefault;
	}
	public int getAddressid() {
		return addressid;
	}
	public void setAddressid(int addressid) {
		this.addressid = addressid;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getConsignee() {
		return consignee;
	}
	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getOptionalTel() {
		return optionalTel;
	}
	public void setOptionalTel(String optionalTel) {
		this.optionalTel = optionalTel;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getDistrict() {
		return district;
	}
	public void setDistrict(String district) {
		this.district = district;
	}
	public String getStreet() {
		return street;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPostcode() {
		return postcode;
	}
	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}
	public int getIfDefault() {
		return ifDefault;
	}
	public void setIfDefault(int ifDefault) {
		this.ifDefault = ifDefault;
	}
}
